.loupeSelectorWrap {
  width: 100%;

  &.showLoupe {
    :global {
      .ant-select-selection {
        padding-right: 20px;
      }

      .ant-select-selection__clear,
      .ant-select-arrow {
        right: 31px !important;
      }

      .ant-select-arrow {
        pointer-events: none;
      }

      .gant-input-group-inner {
        margin-right: 0 !important;
      }
    }
  }

  :global {
    .ant-select-selection {
      padding-right: 20px;
    }

    .gant-input-group-inner {
      margin-right: 0 !important;
    }
  }

  .treeSelectArrow {
    :global {
      .ant-select-selection__clear,
      .ant-select-arrow {
        right: 53px !important;
      }
    }
    .extraArrowIcon {
      pointer-events: none;
    }
  }

  .selectWrap {
    position: relative;
    flex: 1;

    .extraArrowIcon {
      position: absolute;
      top: 50%;
      right: 32px;
      z-index: 1;
      margin-top: -6px;
      font-size: 12px;
      line-height: 1;

      :hover {
        color: var(--primary-color);
      }
    }

    .searchIcon {
      position: absolute;
      top: 50%;
      right: 11px;
      z-index: 1;
      margin-top: -6px;
      font-size: 12px;
      line-height: 1;

      :hover {
        color: var(--primary-color);
      }
    }

    .searchIconDisabled {
      cursor: not-allowed;

      :hover {
        color: inherit;
      }
    }
  }
}
